'use strict';

const express = require('express');
const authController = require('../../app/controllers/auth.server.controller');

// module.exports = (app) => {
//     module.exports = function(app) {
//         app.route('/aulogin')
//             .get(authController.login);
//     };
// };

module.exports = (app) => {
    app.route('/aulogin')
    .post(authController.login);
    app.route('/auregist')
    .post(authController.regist);
};